﻿using System;
using System.Collections.Generic;
using RevitInteractiveUtility.ExternalEventManager;

namespace YJKColumnModify.ConnectColumnBream
{
	internal class NewBreamReqst : IRequest
	{
		public NewBreamReqst(int iRequestId)
		{
			this.m_iRequestId = iRequestId;
		}

		public int RequestId
		{
			get
			{
				return this.m_iRequestId;
			}
		}

		public void DoRequest(object parameters = null)
		{
			List<ConnectColumnBreamInfo> list = parameters as List<ConnectColumnBreamInfo>;
			new NewBream(list[0]).CreateBream(list);
		}

		private int m_iRequestId;
	}
}
